﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
<link href="<%=path%>/css/style_main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="<%=path%>/css/jquery.treeview.css" />
<script  src="<%=path%>/js/jquery.js" type="text/javascript"></script>
<script  src="<%=path%>/js/jquery.treeview.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
	</script>
</head>

<body>
<div class="box"><div class="sel">车间选择</div>
<div id="tree">
	<ul id="navigation">
		<c:forEach items="${shops}" var="shop">
			<li><a href="#">${shop.workShopName }</a>
		      <ul>
		      	<c:forEach items="${shop.machines}" var="machine">
		     		 <li><a href="#">${machine.machineName }</a></li>
		      	</c:forEach>
			  </ul>
             </li>
         </c:forEach>
                            
	</ul>
</div>
</div>
</body>
</html>
